package org.diysearch.dao.interfaces;

import java.sql.SQLException;

import org.diysearch.models.Rating;

public interface RatingDao {
	public int increment(Rating rating) throws SQLException;
	public int deincrement (Rating rating) throws SQLException;
	public int update (Rating rating) throws SQLException;
	public Rating findRating (Rating rating) throws SQLException;
	public Rating findTotal(Rating rating) throws SQLException;
	public int delete (Rating rating) throws SQLException;
}
